package com.z.pojo;

public class Users {

    private Integer     uid;
    private String      uname;
    private String      account;
    private String      password;
    private Integer     level;
    private String      gender;
    private String      phone;

    public Users() {
    }

    public Users(Integer uid, String uname, String account, String password, Integer level, String gender, String phone) {
        this.uid = uid;
        this.uname = uname;
        this.account = account;
        this.password = password;
        this.level = level;
        this.gender = gender;
        this.phone = phone;
    }

    public Users(String uname, String account, String password, Integer level, String gender, String phone) {
        this.uname = uname;
        this.account = account;
        this.password = password;
        this.level = level;
        this.gender = gender;
        this.phone = phone;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Users{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", level=" + level +
                ", gender='" + gender + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
